package com.lbn.monitor.widget.chart;

import android.graphics.Point;

/**
 * @author 李炳南
 * @date 2017/3/7
 */
public class Element {

    private Point point = new Point();

    private long x;

    private double y;

    public Element(long x , double y){
        this.x = x;
        this.y = y;
    }


    public double getY() {
        return y;
    }

    public Point getPoint() {
        return point;
    }

    public long getX() {
        return x;
    }

    public int getPointX() {
        return point.x;
    }

    public int getPointY() {
        return point.y;
    }

    public void setPointX(int x) {
        this.point.x = x;
    }
    public void setPointY(int y) {
        this.point.y = y;
    }


}
